<template>
  <a-modal
    title='物业员工'
    :width='640'
    :visible='visible'
    :confirmLoading='confirmLoading'
    :maskClosable='false'
    @cancel='handleCancel'
  >
    <a-spin :spinning='confirmLoading'>
      <a-form :form='modelForm'>
        <a-form-item
          label="ID"

          v-show="false"
          >
          <a-input
            :disabled='showable'
            placeholder='请输入'
            />
        </a-form-item>
      </a-form>
    </a-spin>
  </a-modal>
</template>

<script>
export default {
  name: 'wfu-tentment-add-or-update',
  data() {
    return {
      modelForm:this.$form.createForm(this),
      visible: false,
      confirmLoading: false,
      editable:false,
      addable:false,
      showable:false,
    }
  },
  methods: {
    //获取用户信息
    edit(num,type) {
      this.visible = true
      if (type && type==='add'){
        this.addable = true
        this.type = type
      }
    },
    handleCancel() {
      this.visible = false
    }
  }
}
</script>

<style scoped>

</style>